<script setup lang="ts">
	import {getCurrentInstance } from "vue";
	import { onLaunch, onShow, onHide } from "@dcloudio/uni-app";
	const instance = getCurrentInstance()?.appContext.config.globalProperties;
	import { useI18n } from 'vue-i18n';
	import i18n from '@/i18n';
	const { t, locale } = useI18n();
	// import { initializeWebSocket } from "@/util/websocket";
	import { WebSiteConfig } from "@/api/SystemApi";

	onLaunch(async (option : any) => {
		instance?.$changeLanguage()
		WebSiteConfig()

	});

	
</script>
<style lang="scss">
	/* #ifndef APP-PLUS-NVUE */
	@import "uview-plus/index.scss";
	@import "@/static/scss/public.scss";

	.u-modal__button-group__wrapper--confirm {
		.u-modal__button-group__wrapper__text {
			color: #22B1FF !important;
		}
	}

	.u-modal__button-group__wrapper--hover {
		background: transparent !important;
	}

	.u-toolbar__wrapper__confirm {
		color: #22B1FF !important;
	}

	.container {
		padding: 15px;
	}

	button {
		margin-bottom: 15px;
	}

	uni-modal {
		z-index: 999999 !important;
	}

	.rotate {
		transform: rotate(-180deg);

		span {
			font-size: 18px;
			opacity: 0.6;
		}
	}

	.notDisturb {
		span {
			font-size: 16px;
			margin-left: 6px;
			opacity: 0.6;


		}
	}

	/* #endif */
</style>